package app.dev.ems.web.wicket.page.user;

import java.lang.reflect.InvocationTargetException;

import app.dev.ems.web.element.NavigationStatus;
import app.dev.ems.web.element.menu.MenuElement;
import app.dev.ems.web.wicket.page.BasePage;
import app.dev.ems.web.wicket.panel.menu.horizontal.user.UserHorizontalMenuPanel;
import app.dev.ems.web.wicket.panel.menu.vertical.BaseVerticalMenuPanel;

public abstract class BaseUserPage extends BasePage {

	private static final long serialVersionUID = 5820441199596809623L;

	public BaseUserPage(NavigationStatus activeHorizontalNavigationStatus, NavigationStatus activeVerticalNavigationStatus,Class<? extends BaseVerticalMenuPanel> verticalMenuPanel) throws SecurityException, IllegalArgumentException, NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException {
		super(activeHorizontalNavigationStatus, activeVerticalNavigationStatus, verticalMenuPanel);
		add(new UserHorizontalMenuPanel(MenuElement.HORIZONTAL_NAVIGATION.getElement()));
	}

}
